class Score:

    __scores = {}

    def __init__(self):
        pass

    def score(self, id, value, score):
        if not self.__scores.has_key(score):
            self.__scores[score] = {}
        # @type allele Allele
        self.__scores[score][id] = value

    def getValue(self, id, score):
        if not self.__scores.has_key(score):
            return False
        if not self.__scores[score].has_key(id):
            return False
        return self.__scores[score][id]

    def getAll(self):
        return self.__scores

    def setList(self, in_score):
        self.__scores = in_score